package com.ljh.blog.service;

import com.ljh.blog.pojo.dataobject.UserInfo;
import com.ljh.blog.pojo.request.UserInfoRequest;
import com.ljh.blog.pojo.response.UserInfoResponse;
import com.ljh.blog.pojo.response.UserLoginResponse;

public interface UserService {
    UserLoginResponse login(UserInfoRequest userInfo);

    UserInfoResponse getUserInfo(Integer userId);

    UserInfoResponse getAuthorInfo(Integer blogId);
}
